package com.company.section1;

/**
 * @author cbf4Life cbf4life@126.com
 * I'm glad to share my knowledge with you all.
 */
public class RealSubject implements Subject {
	private String string= null;
	public RealSubject(String string){
		this.string = string;
	}
	//业务操作
	public void doSomething(String string) {
		System.out.println("do something!---->" + this.string);
	}

	public String saySomething(String string) {
		return string;
	}

}
